<?php
class searchProduct extends CWidget{
	public function init()
	{
		parent::init();
	}
	public function run()
	{
		$category = isset($_GET['category'])?$_GET['category']:'';
		$manufactor = isset($_GET['manufactor'])?$_GET['manufactor']:'';
		$price = isset($_GET['price'])?$_GET['price']:'';
		$keyword = isset($_GET['keyword'])?$_GET['keyword']:'Gõ từ khóa...';
		
		$this->render('default', array(
					'category'=>$category,
					'manufactor'=>$manufactor,
					'price'=>$price,
					'keyword'=>$keyword
				));
	}
}